from django.conf.urls.defaults import *
from agro.views import tumble_archive, tumble_by_model


urlpatterns = patterns('',
	url(r'^(?P<model>\w+)/$', tumble_by_model, name='agro_tumble_by_model'),
	url(r'^(?P<model>\w+)/(?P<username>\w+)/$', tumble_by_model),
	url(r'^username/(?P<username>\w+)/$', tumble_archive, {'excluded_models': ('song', 'bookmark',)}),
	url(r'^$', tumble_archive, {'excluded_models': ('song',), 'username': 'blturner'}),
)